﻿using System;

namespace ShopB2C.Entity {
    [Serializable]
    public class NewsEntity {    
        /// <summary>
        /// 无参构造函数
        /// </summary>
        public NewsEntity() { }
        /// <summary>
        /// 新闻ID，主键，自增ID
        /// </summary>
        public Int32 NewsId { get; set; }        
        /// <summary>
        /// 新闻来源
        /// </summary>
        public String Author { get; set; }        
        /// <summary>
        /// 新闻标题
        /// </summary>
        public String Title { get; set; }        
        /// <summary>
        /// 新闻内容
        /// </summary>
        public String Content { get; set; }        
        /// <summary>
        /// 搜索关键字
        /// </summary>
        public String MetaKeywords { get; set; }        
        /// <summary>
        /// 搜索简要说明
        /// </summary>
        public String MetaDescription { get; set; }        
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddDate { get; set; }        
        /// <summary>
        /// 是否允许回复
        /// </summary>
        public Boolean IsAllowReplay { get; set; }        
        /// <summary>
        /// 所属分类的 ID
        /// </summary>
        public Int32 ClassifyId { get; set; }
        /// <summary>
        /// 所属分类的名称
        /// </summary>
        public string ClassifyName { get; set; }
    }    
}
